import { addCollect, delCollect } from "@/api/"

export default {
    methods:{
        getCheck(val, id){
            if(val){
                addCollect(id)
            }else{
                delCollect(id)
            }
        }
    }
}